package com.ahuan.mapper;

import com.ahuan.domain.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface DeptMapper {
    List<Dept> selectDeptList();

    Integer insertDept(@Param("dept") Dept dept);

    Integer updateDept(@Param("dept") Dept dept);

    Integer deleteDept(String deptId);
}
